New Plug-ins
Specify the plug-in type, category, parameters, options, and VectorScript code of a new plug-in from the VectorScript Plug-in Editor dialog box.
To create a plug-in:
1.
Select Tools > Scripts > VectorScript Plug-in Editor.
The VectorScript Plug-In Editor dialog box opens.
2.
Click New.
The Assign Name dialog box opens. Enter the name of the new plug-in item and select the type of the plug-in to create.
 
VectorScript menu command (.vsm) plug-ins can be used like any standard menu command item, performing operations on the active VectorWorks document. VectorScript menu commands can detect the view state of the active VectorWorks file, or can determine if a selection set exists upon which the menu command can act.
VectorScript tool item (.vst) plug-ins allow scripts to be added to a VectorWorks workspace as a tool palette item. VectorScript tools make use of the SmartCursor, and can respond to file state conditions such as selection status or view orientation.
VectorScript plug-in objects (.vso) allow the creation of complex objects such as standard architectural or mechanical elements, “smart” drawing components like callouts or drawing borders, or other flexible objects which streamline the design process. Plug-in objects support standard VectorWorks core technologies such as snapping, classing, and advanced object editing; they can contain up to 32,767 parameters for defining and editing the object appearance.
Specifies an additional file (.vss or .px) to be included with a script (see Include Files and Encryption)
3.
Click OK to create the plug-in item.

Using VectorScript Plug-ins : Plug-in Properties and Management : New Plug-ins

Nemetschek NA
Phone: 410.290.5114
Fax: 410.290.8050